﻿@using System.Collections
@model StevensReceipts.Web.Models.ViewModels.BusinessDetailsViewModel

@{
    ViewBag.Title = "RegisterDetails";
}

<h2>RegisterDetails</h2>

<table>
    <tr><td>Display Name</td><td>Legal/Trading Name</td><td>Organization Type</td><td>What is your line of business?</td></tr>
    <tr><td>@Html.TextBoxFor(model=>Model.BusinessName)</td>
        <td>@Html.TextBoxFor(model =>Model.LegalName)</td>
        <td>@Html.DropDownListFor(model=>Model.BusinessType, new SelectList((IList)ViewBag.BusinessTypes))</td>
    </tr>
</table>

@Html.TextBoxFor(b=>b.BusinessName)
@Html.TextBoxFor(b=>b.LegalName)